<template>
  <div class="search-bar">
    <el-form :inline="true" :model="formItem" class="form-filter" size="mini" />
  </div>
</template>

<script>
const formItem = {

}

export default {
  name: 'PriorityTableFilter',
  data() {
    return {
      formItem: {
        ...formItem
      }
    }
  },
  mounted() {

  },
  methods: {
    search: function() {
      this.$parent.filter(this.formItem)
    },
    reset: function() {
      this.formItem = {
        ...formItem
      }
      this.search()
    }
  }
}
</script>
